package com.jianqiao.delivery.delivery.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * author: cyx
 * create: 2024/5/24 17:38
 **/
@Data
@TableName("delivery")
public class DeliveryEntity {
    @TableId("id")
    private Integer id;

    @TableField("total_price")
    private Double totalPrice;

    @TableField("customs_clearance")
    private String customsClearance;

    @TableField("destination_country")
    private String destinationCountry;

    @TableField("shipping_channel")
    private String shippingChannel;

    @TableField("transportation_method")
    private String transportationMethod;

    @TableField("province")
    private String province;

    @TableField("country")
    private String country;

    @TableField("district")
    private String district;

    @TableField("detail")
    private String detail;

    @TableField("address")
    private String address;

    @TableField("phone")
    private String phone;

    @TableField("real_name")
    private String realName;

    @TableField("international_order_number")
    private String internationalOrderNumber;


    @TableField("type_of_goods")
    private String typeOfGoods;


    @TableField("weight")
    private Double weight;


    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("create_by")
    private String createBy;

    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableField("update_by")
    private String updateBy;

    @TableField("remark")
    private String remark;

    @TableField("status")
    private String status;

    @TableField("del_flag")
    private String delFlag;

    @TableField("number_of_parcels")
    private Integer numberOfParcels;


    @TableField("cubic_number")
    private String cubicNumber;


    @TableField("charge_unit")
    private String chargeUnit;


    @TableField("freight")
    private Double freight;

    @TableField("payment")
    private String payment;
    @TableField("order_number")
    private String orderNumber;

    @TableField("length_width_height")
    private String lengthWidthHeight;

    @TableField("payment_screenshot")
    private String paymentScreenshot;

    @TableField("qrcode_url")
    private String qrcodeUrl;

    @TableField(exist = false)
    private String packagingServices;

    @TableField(exist = false)
    private List<TGlPackageDetailsEntity> lists;

    @TableField(exist = false)
    private String value;
    @TableField(exist = false)
    private String label;
    @TableField(exist = false)
    private String dictId;

    @TableField(exist = false)
    private String productName;
    @TableField(exist = false)
    private String trackingNumber;
    @TableField(exist = false)
    private String numberOfPieces;
    @TableField(exist = false)
    private String unitPrice;
    @TableField(exist = false)
    private String plateNumber;
    @TableField(exist = false)
    private String expressCompany;


}
